Crate zbus_lockstep
source ·Expand description
§zbus-lockstep
Is a collection of helpers for retrieving DBus
type signatures from XML descriptions.
Useful for comparing these with your types’ signatures to ensure that they are compatible.
It offers functions that retrieve the signature of a method’s argument type, of a method’s
return type, pf a signal’s body type or of a property’s type from DBus
XML.
These functions require that you provide the file path to the XML file, the interface name, and the interface member wherein the signature resides.
Corresponding to each of these functions, macros are provided which do not require you to exactly point out where the signature is found. These will just search by interface member name.
The macros assume that the file path to the XML files is either:
xml
orXML
, the default path forDBus
XML files - or is set by theLOCKSTEP_XML_PATH
, the env variable that overrides the default.
Re-exports§
Macros§
- Retrieve the signature of a method’s arguments.
- Retrieve the signature of a method’s return type.
- Retrieve the signature of a property’s type.
- Retrieve the signature of a signal’s body type.
Structs§
- An introspection tree node (typically the root of the XML document).
Enums§
Functions§
- Retrieve the signature of a method’s argument type from XML.
- Retrieve the signature of a method’s return type from XML.
- Retrieve the signature of a property’s type from XML.
- Retrieve a signal’s body type signature from
DBus
XML. - Resolve XML path from either: